﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace TvGuide.UI.Models
{
    public class ExternalVideoModel
    {
        [Required]
        public long Id { get; set; }

        //[RegularExpression(@"youtu(?:\.be|be\.com)/(?:.*v(?:/|=)|(?:.*/)?)([a-zA-Z0-9-_]+)")]
        public string url { get; set; }

        [DisplayName("Video Title")]
        public string title { get; set; }

        public long views { get; set; }

        public string newUrl { get; set; }

        [DisplayName("Video Category")]
        public long cat { get; set; }

        public TVGuide.Enums.Categories catEnum { get; set; }
    }
}